home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / SgGrid.z / SgGrid
Text File  |  1998-10-30  |  31KB  |  595 lines

  1.  
  2.  
  3.  
  4.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           SSSSggggGGGGrrrriiiidddd-The SgGrid widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ####iiiinnnncccclllluuuuddddeeee <<<<SSSSggggmmmm////GGGGrrrriiiidddd....hhhh>>>>
  13.  
  14.  
  15.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  16.           This page documents the version of Sgm that accompanies
  17.           Motif 2.1.
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.           SgGrid is a container widget with no input semantics of its
  21.           own. It arranges its children in a two dimensional grid of
  22.           arbitrary size. Each row and column of this grid may be
  23.           separately designated as having a fixed size or as having
  24.           some degree of stretchability.  In addition, each child may
  25.           be resizable in either or both directions, or forced to a
  26.           fixed size.  If a child is a fixed size, and smaller than
  27.           the cell that contains it, the childs position within the
  28.           cell is determined by an XmNgravity resource.
  29.  
  30.           Following are some important considerations in using an
  31.           SgGrid widget:
  32.  
  33.  
  34.  
  35.                The position of each child must be set using the XmNrow
  36.                and XmNcolumn resources. If no position is specified,
  37.                the child will be placed in an unspecified free cell.
  38.  
  39.  
  40.  
  41.                The resizability of each row and column must be set
  42.                using convenience functions SgGridSetRowResize and
  43.                SgGridSetColumnResize. The default is for all rows and
  44.                columns to be resizable. All widgets are resized
  45.                according to their relative natural size.
  46.  
  47.  
  48.  
  49.                Unmapping a child has no effect on the SgGrid except
  50.                that the child is not mapped.
  51.  
  52.  
  53.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  54.           The following example creates a grid of four buttons that
  55.           all size (and resize) equally to fill one quarter of their
  56.           parent.
  57.  
  58.           createGrid(Widget parent) {
  59.              int n;
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  71.  
  72.  
  73.  
  74.              Arg args[10];
  75.              Widget grid, child1, child2, child3, child4;
  76.  
  77.              n = 0;
  78.              XtSetArg(args[n], XmNnumRows,    2); n++;
  79.              XtSetArg(args[n], XmNnumColumns, 2); n++;
  80.              grid = SgCreateGrid( parent, "grid", args, n );
  81.  
  82.              child1 = XtVaCreateManagedWidget( "child1",
  83.                                        xmPushButtonWidgetClass, grid,
  84.                                        XmNrow,    0,
  85.                                        XmNcolumn, 0,
  86.                                        NULL );
  87.              child2 = XtVaCreateManagedWidget( "child2",
  88.                                        xmPushButtonWidgetClass, grid,
  89.                                        XmNrow,    0,
  90.                                        XmNcolumn, 1,
  91.                                        NULL );
  92.              child3 = XtVaCreateManagedWidget( "child3",
  93.                                        xmPushButtonWidgetClass, grid,
  94.                                        XmNrow,    1,
  95.                                        XmNcolumn, 0,
  96.                                        NULL );
  97.              child4 = XtVaCreateManagedWidget( "child4",
  98.                                        xmPushButtonWidgetClass, grid,
  99.                                        XmNrow,    1,
  100.                                        XmNcolumn, 1,
  101.                                        NULL );
  102.              XtManageChild(grid); }
  103.  
  104.  
  105.           The following example creates four buttons. The top row has
  106.           a fixed vertical size, while the bottom row is resizable.
  107.           The left column has a fixed size, but the right column can
  108.           be resized. The button in the lower right can be resized,
  109.           but the others cannot. The button in the lower left cell,
  110.           which can be resized vertically, floats in the middle of its
  111.           cell.  The button in the upper right stays to the left of
  112.           its cell.
  113.  
  114.           createGrid(Widget parent) {
  115.              int n;
  116.              Arg args[10];
  117.              Widget grid, chidl1, child2, child3, child4;
  118.  
  119.              n = 0;
  120.              XtSetArg(args[n], XmNnumRows,    2); n++;
  121.              XtSetArg(args[n], XmNnumColumns, 2); n++;
  122.              grid = SgCreateGrid( parent, "grid", args, n );
  123.  
  124.              SgGridSetColumnResizability(grid, 0, 0);
  125.              SgGridSetRowResizability(grid, 0, 0);
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  137.  
  138.  
  139.  
  140.              child1 = XtVaCreateManagedWidget( "child1",
  141.                                        xmPushButtonWidgetClass, grid,
  142.                                        XmNrow,    0,
  143.                                        XmNcolumn, 0,
  144.                                        NULL );
  145.              child2 = XtVaCreateManagedWidget( "child2",
  146.                                        xmPushButtonWidgetClass, grid,
  147.                                        XmNrow,    0,
  148.                                        XmNcolumn, 1,
  149.                                        XmNresizeHorizontal, FALSE,
  150.                                        XmNgravity,
  151.           WestGravity,
  152.                                        NULL );
  153.              child3 = XtVaCreateManagedWidget( "child3",
  154.                                        xmPushButtonWidgetClass, grid,
  155.                                        XmNrow,    1,
  156.                                        XmNcolumn, 0,
  157.                                        XmNresizeVertical, FALSE,
  158.                                        XmNgravity,
  159.           CenterGravity,
  160.                                        NULL );
  161.              child4 = XtVaCreateManagedWidget( "child4",
  162.                                        xmPushButtonWidgetClass, grid,
  163.                                        XmNrow,    1,
  164.                                        XmNcolumn, 1,
  165.                                        NULL );
  166.              XtManageChild(grid); }
  167.  
  168.  
  169.           This creates an initial layout like the following. The "*"'s
  170.           are the boundaries of each cell in the grid, while the "-"'s
  171.           are the sides of the button widgets.
  172.           ********************************
  173.           * -------------*---------------*
  174.           * |           |*|             |*
  175.           * | Button1   |*|   Button2   |*
  176.           * |           |*|             |*
  177.           * |-----------|*--------------|*
  178.           * ******************************
  179.           * |-----------|*--------------|*
  180.           * |           |*|             |*
  181.           * |  Button3  |*|  Button4    |*
  182.           * |           |*|             |*
  183.           * -------------*---------------*
  184.           ********************************
  185.  
  186.           When resized to be larger, this window will appear as
  187.           follows:
  188.           ******************************************
  189.           *--------------*---------------          *
  190.           *|            |*|             |          *
  191.           *|   Button1  |*|   Button2   |          *
  192.  
  193.  
  194.  
  195.      Page 3                                         (printed 10/24/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  203.  
  204.  
  205.  
  206.           *|            |*|             |          *
  207.           *|------------|*--------------|          *
  208.           ******************************************
  209.           *             |*------------------------|*
  210.           *             |*|                       |*
  211.           *             |*|                       |*
  212.           *             |*|                       |*
  213.           *|------------|*|                       |*
  214.           *|            |*|                       |*
  215.           *|  Button3   |*|    Button4            |*
  216.           *|            |*|                       |*
  217.           *|------------|*|                       |*
  218.           *             |*|                       |*
  219.           *             |*|                       |*
  220.           *             |*|                       |*
  221.           *              *-------------------------*
  222.           ******************************************
  223.  
  224.         CCCCllllaaaasssssssseeeessss
  225.           SgGrid inherits behavior and resources from CCCCoooorrrreeee, CCCCoooommmmppppoooossssiiiitttteeee,
  226.           CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt, XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, and XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd classes.
  227.  
  228.           The class pointer is ssssggggGGGGrrrriiiiddddWWWWiiiiddddggggeeeettttCCCCllllaaaassssssss.
  229.  
  230.           The class name is SSSSggggGGGGrrrriiiidddd.
  231.  
  232.         NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  233.           The following table defines a set of widget resources used
  234.           by the programmer to specify data.  The programmer can also
  235.           set the resource values for the inherited classes to set
  236.           attributes for this widget.  To reference a resource by name
  237.           or by class in a .Xdefaults file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
  238.           prefix and use the remaining letters.  To specify one of the
  239.           defined values for a resource in a .Xdefaults file, remove
  240.           the XXXXmmmm prefix and use the remaining letters (in either
  241.           lowercase or uppercase, but include any underscores between
  242.           words).  The codes in the access column indicate if the
  243.           given resource can be set at creation time (C), set by using
  244.           XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is
  245.           not applicable (N/A).
  246.  
  247.                               SSSSggggGGGGrrrriiiidddd RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  248.       NNNNaaaammmmeeee                CCCCllllaaaassssssss               TTTTyyyyppppeeee        DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  249.       ____________________________________________________________________
  250.       XmNnumRows          XmCNumRows          int         1         CG
  251.       XmNnumColumns       XmCNumColumns       int         1         CG
  252.       XmNshowGrid         XmCShowGrid         Boolean     FALSE     CSG
  253.       XmNautoLayout       XmCAutoLayout       Boolean     TRUE      CSG
  254.       XmNdefaultSpacing   XmCDefaultSpacing   Dimension   4         CSG
  255.  
  256.         XXXXmmmmNNNNnnnnuuuummmmRRRRoooowwwwssss
  257.                Specifies the number of rows in the grid. This resource
  258.  
  259.  
  260.  
  261.      Page 4                                         (printed 10/24/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  269.  
  270.  
  271.  
  272.                must be specified at widget creation time. The default
  273.                is 1.
  274.  
  275.  
  276.         XXXXmmmmNNNNnnnnuuuummmmCCCCoooolllluuuummmmnnnnssss
  277.                Specifies the number of columns in the grid. This
  278.                resource must be specified at widget creation time. The
  279.                default is 1.
  280.  
  281.  
  282.         XXXXmmmmNNNNsssshhhhoooowwwwGGGGrrrriiiidddd
  283.                When TRUE, the SgGrid widget visibly displays the
  284.                boundaries of each cell in the grid. This can be useful
  285.                for debugging resize specifications. The default is
  286.                FALSE.
  287.  
  288.  
  289.         XXXXmmmmNNNNaaaauuuuttttooooLLLLaaaayyyyoooouuuutttt
  290.                When TRUE (the default), all rows or columns that have
  291.                a non-zero resizability are sized according to the
  292.                desired natural size of the widgets in that row or
  293.                column. If this resource is FALSE, all widgets in
  294.                resizable rows or columns are sized according to a
  295.                relative resizability factor (see
  296.                SgGridSetRowResizability and
  297.                SgGridSetColumnResizability, below). By default, this
  298.                factor is "1" for all widgets, leading to an equal
  299.                sizing strategy.
  300.  
  301.  
  302.         XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttLLLLaaaayyyyoooouuuutttt
  303.                Specifies a default spacing between rows and columns.
  304.                This value can be overriden on a per row/column basis
  305.                using SgGridSetColumnMargin or SgGridSetRowMargin.
  306.  
  307.                              SSSSggggGGGGrrrriiiidddd CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  308.      NNNNaaaammmmeeee                  CCCCllllaaaassssssss                 TTTTyyyyppppeeee      DDDDeeeeffffaaaauuuulllltttt            AAAAcccccccceeeessssssss
  309.      _______________________________________________________________________________
  310.      XmNgravity            XmCGravity            int       NorthWestGravity   CSG
  311.      XmNresizeVertical     XmCResizeVertical     Boolean   TRUE               CSG
  312.      XmNresizeHorizontal   XmCResizeHorizontal   Boolean   TRUE               CSG
  313.      XmNrow                XmCRow                int       dynamic            CSG
  314.      XmNcolumn             XmCColumn             int       dynamic            CSG
  315.  
  316.  
  317.         XXXXmmmmNNNNggggrrrraaaavvvviiiittttyyyy
  318.                If a child widget is not resizable, and is smaller than
  319.                the cell that contains it, the child's gravity controls
  320.                its position within the cell.  Gravity may be any of
  321.                the gravity values defined by Xlib except StaticGravity
  322.                and ForgetGravity.  The default is NorthWestGravity;
  323.                Note that gravity has no effect is both verticalResize
  324.  
  325.  
  326.  
  327.      Page 5                                         (printed 10/24/98)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  335.  
  336.  
  337.  
  338.                and horizontalResize are TRUE.
  339.  
  340.  
  341.         XXXXmmmmNNNNrrrreeeessssiiiizzzzeeeeVVVVeeeerrrrttttiiiiccccaaaallll
  342.                If TRUE, the child will be resized to fill the cell
  343.                containing it in the vertical direction. The default is
  344.                TRUE;
  345.  
  346.  
  347.         XXXXmmmmNNNNrrrreeeessssiiiizzzzeeeeHHHHoooorrrriiiizzzzoooonnnnttttaaaallll
  348.                If TRUE, the child will be resized to fill the cell
  349.                containing it in the horizontal direction. The default
  350.                is TRUE;
  351.  
  352.  
  353.         XXXXmmmmNNNNrrrroooowwww
  354.                Determines the row of the grid in which the child is
  355.                placed. If no row is specified, the child will be
  356.                placed in a cell randomly selected from those not
  357.                currently occupied.
  358.  
  359.  
  360.         XXXXmmmmNNNNccccoooolllluuuummmmnnnn
  361.                Determines the column of the grid in which the child is
  362.                placed. If no row is specified, the child will be
  363.                placed in a cell randomly selected from those not
  364.                currently occupied.
  365.  
  366.  
  367.      GGGGrrrriiiidddd FFFFuuuunnnnccccttttiiiioooonnnnssss
  368.         SSSSggggGGGGrrrriiiiddddSSSSeeeettttRRRRoooowwwwRRRReeeessssiiiizzzzaaaabbbbiiiilllliiiittttyyyy((((wwwwiiiiddddggggeeeetttt,,,, rrrroooowwww,,,, ffffaaaaccccttttoooorrrr ))))
  369.                    WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt ;;;;
  370.                    iiiinnnntttt rrrroooowwww;;;;
  371.                    iiiinnnntttt ffffaaaaccccttttoooorrrr;;;;
  372.  
  373.           Set the degree to which the specified row can be resized.
  374.           The default is a value of 1 for all rows, which means that
  375.           all rows will be equally resizable, if the value of
  376.           XmNautoLayout is false. Setting this value to 0 establishes
  377.           the specified row as not resizable, regardless of the
  378.           setting of XmNautoLayout. Other values are taken relative to
  379.           all other rows. For example, if an SgGrid widget has three
  380.           rows, whose resize factors are set to 100, 100, and 200, the
  381.           first and second rows will occupy 1/4 (computed as:
  382.           100/(100+100+200)) of the space, while the the third row
  383.           will occupy one half of the available space.
  384.  
  385.  
  386.  
  387.         SSSSggggGGGGrrrriiiiddddSSSSeeeettttCCCCoooolllluuuummmmnnnnRRRReeeessssiiiizzzzaaaabbbbiiiilllliiiittttyyyy(((( wwwwiiiiddddggggeeeetttt,,,, ccccoooollll,,,, ffffaaaaccccttttoooorrrr ))))
  388.                    WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt ;;;;
  389.                    iiiinnnntttt ccccoooollll;;;;
  390.  
  391.  
  392.  
  393.      Page 6                                         (printed 10/24/98)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  401.  
  402.  
  403.  
  404.                    iiiinnnntttt ffffaaaaccccttttoooorrrr;;;;
  405.  
  406.           This function sets the resizability of individual columns,
  407.           and works in a similar fashion as SgGridSetRowResizability.
  408.  
  409.  
  410.  
  411.         SSSSggggGGGGrrrriiiiddddSSSSeeeettttRRRRoooowwwwMMMMaaaarrrrggggiiiinnnn((((wwwwiiiiddddggggeeeetttt,,,, rrrroooowwww,,,, mmmmaaaarrrrggggiiiinnnn ))))
  412.                    WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt ;;;;
  413.                    iiiinnnntttt rrrroooowwww;;;;
  414.                    DDDDiiiimmmmeeeennnnssssiiiioooonnnn  mmmmaaaarrrrggggiiiinnnn;;;;
  415.  
  416.           Set the margin height of the specified row. Each row and
  417.           column can have a margin between it's edge and the widgets
  418.           the row or column contains. The margin is added to both
  419.           sides of each row or column, so adding a 1 pixel marign
  420.           grows the relevant dimension of the affected row or column
  421.           by 2 pixels.
  422.  
  423.  
  424.  
  425.         SSSSggggGGGGrrrriiiiddddSSSSeeeettttCCCCoooolllluuuummmmnnnnMMMMaaaarrrrggggiiiinnnn(((( wwwwiiiiddddggggeeeetttt,,,, ccccoooollll,,,, mmmmaaaarrrrggggiiiinnnn ))))
  426.  
  427.                         WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt ;;;;
  428.                         iiiinnnntttt ccccoooollll;;;;
  429.                         DDDDiiiimmmmeeeennnnssssiiiioooonnnn  mmmmaaaarrrrggggiiiinnnn;;;;
  430.  
  431.                Set the margin width of the specified column.
  432.  
  433.  
  434.      IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  435.           SgGrid inherits behavior and resources from the following
  436.           superclasses.  For a complete description of each resource,
  437.           refer to the man page for that superclass.
  438.  
  439.                                XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  440.      NNNNaaaammmmeeee                  CCCCllllaaaassssssss                TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt        AAAAcccccccceeeessssssss
  441.      _________________________________________________________________________________
  442.      XmNallowOverlap       XmCAllowOverlap      Boolean          True           CSG
  443.      XmNautoUnmanage       XmCAutoUnmanage      Boolean          True           CG
  444.      XmNbuttonFontList     XmCButtonFontList    XmFontList       dynamic        CSG
  445.      XmNcancelButton       XmCWidget            Widget           NULL           SG
  446.      XmNdefaultButton      XmCWidget            Widget           NULL           SG
  447.      XmNdefaultPosition    XmCDefaultPosition   Boolean          True           CSG
  448.      XmNdialogStyle        XmCDialogStyle       unsigned char    dynamic        CSG
  449.      XmNdialogTitle        XmCDialogTitle       XmString         NULL           CSG
  450.      XmNfocusCallback      XmCCallback          XtCallbackList   NULL           C
  451.      XmNlabelFontList      XmCLabelFontList     XmFontList       dynamic        CSG
  452.      XmNmapCallback        XmCCallback          XtCallbackList   NULL           C
  453.      XmNmarginHeight       XmCMarginHeight      Dimension        0              CSG
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                                         (printed 10/24/98)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  467.  
  468.  
  469.  
  470.      XmNmarginWidth        XmCMarginWidth       Dimension        0              CSG
  471.      XmNnoResize           XmCNoResize          Boolean          False          CSG
  472.      XmNresizePolicy       XmCResizePolicy      unsigned char    XmRESIZE_ANY   CSG
  473.      XmNshadowType         XmCShadowType        unsigned char    XmSHADOW_OUT   CSG
  474.      XmNtextFontList       XmCTextFontList      XmFontList       dynamic        CSG
  475.      XmNtextTranslations   XmCTranslations      XtTranslations   NULL           C
  476.      XmNunmapCallback      XmCCallback          XtCallbackList   NULL           C
  477.  
  478.                                              XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  479.      NNNNaaaammmmeeee                    CCCCllllaaaassssssss                         TTTTyyyyppppeeee                DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  480.      _______________________________________________________________________________________________________
  481.      XmNbottomShadowColor    XmCBottomShadowColor          Pixel               dynamic                CSG
  482.      XmNbottomShadowPixmap   XmCBottomShadowPixmap         Pixmap              XmUNSPECIFIED_PIXMAP   CSG
  483.      XmNforeground           XmCForeground                 Pixel               dynamic                CSG
  484.      XmNhelpCallback         XmCCallback                   XtCallbackList      NULL                   C
  485.      XmNhighlightColor       XmCHighlightColor             Pixel               dynamic                CSG
  486.      XmNhighlightPixmap      XmCHighlightPixmap            Pixmap              dynamic                CSG
  487.      XmNinitialFocus         XmCInitialFocus               Widget              dynamic                CSG
  488.      XmNnavigationType       XmCNavigationType             XmNavigationType    XmTAB_GROUP            CSG
  489.      XmNshadowThickness      XmCShadowThickness            Dimension           dynamic                CSG
  490.      XmNstringDirection      XmCStringDirection            XmStringDirection   dynamic                CG
  491.      XmNtopShadowColor       XmCBackgroundTopShadowColor   Pixel               dynamic                CSG
  492.      XmNtopShadowPixmap      XmCTopShadowPixmap            Pixmap              dynamic                CSG
  493.      XmNtraversalOn          XmCTraversalOn                Boolean             True                   CSG
  494.      XmNunitType             XmCUnitType                   unsigned char       dynamic                CSG
  495.      XmNuserData             XmCUserData                   Pointer             NULL                   CSG
  496.  
  497.                              CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  498.      NNNNaaaammmmeeee                CCCCllllaaaassssssss               TTTTyyyyppppeeee          DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  499.      ______________________________________________________________________
  500.      XmNchildren         XmCReadOnly         WidgetList    NULL      G
  501.      XmNinsertPosition   XmCInsertPosition   XtOrderProc   NULL      CSG
  502.      XmNnumChildren      XmCReadOnly         Cardinal      0         G
  503.  
  504.                                                    CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  505.      NNNNaaaammmmeeee                            CCCCllllaaaassssssss                           TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  506.      ______________________________________________________________________________________________________________
  507.      XmNaccelerators                 XmCAccelerators                 XtAccelerators   dynamic                N/A
  508.      XmNancestorSensitive            XmCSensitive                    Boolean          dynamic                G
  509.      XmNbackground                   XmCBackground                   Pixel            dynamic                CSG
  510.      XmNbackgroundPixmap             XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  511.      XmNborderColor                  XmCBorderColor                  Pixel            XtDefaultForeground    CSG
  512.      XmNborderPixmap                 XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  513.      XmNborderWidth                  XmCBorderWidth                  Dimension        0                      CSG
  514.      XmNcolormap                     XmCColormap                     Colormap         dynamic                CG
  515.      XmNdepth                        XmCDepth                        int              dynamic                CG
  516.      XmNdestroyCallback              XmCCallback                     XtCallbackList   NULL                   C
  517.      XmNheight                       XmCHeight                       Dimension        dynamic                CSG
  518.      XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True                   C
  519.      XmNmappedWhenManaged            XmCMappedWhenManaged            Boolean          True                   CSG
  520.  
  521.  
  522.  
  523.  
  524.  
  525.      Page 8                                         (printed 10/24/98)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      SSSSggggGGGGrrrriiiidddd((((3333XXXX))))                UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                SSSSggggGGGGrrrriiiidddd((((3333XXXX))))
  533.  
  534.  
  535.  
  536.      XmNscreen                       XmCScreen                       Screen *         dynamic                CG
  537.      XmNsensitive                    XmCSensitive                    Boolean          True                   CSG
  538.      XmNtranslations                 XmCTranslations                 XtTranslations   dynamic                CSG
  539.      XmNwidth                        XmCWidth                        Dimension        dynamic                CSG
  540.      XmNx                            XmCPosition                     Position         0                      CSG
  541.      XmNy                            XmCPosition                     Position         0                      CSG
  542.  
  543.         TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  544.           SgGrid inherits translations from XmBulletinBoard.
  545.  
  546.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  547.           CCCCoooommmmppppoooossssiiiitttteeee((((3333XXXX)))), CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((3333XXXX)))), CCCCoooorrrreeee((((3333XXXX)))),
  548.           XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))), SSSSggggCCCCrrrreeeeaaaatttteeeeGGGGrrrriiiidddd, SSSSggggCCCCrrrreeeeaaaatttteeeeGGGGrrrriiiiddddDDDDiiiiaaaalllloooogggg((((3333XXXX)))),
  549.           and XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))).
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.      Page 9                                         (printed 10/24/98)
  592.  
  593.  
  594.  
  595.